function s1_hello(){
    echo "hello, world!"
}
function s2_tell_who_i_am(){
    local current_user=$(whoami)
    echo $current_user
}
function s3_which_distro_do_i_use(){
    if [ -f /etc/os-release ];then
    distro_name=$(grep '^NAME=' /etc/os-release | awk -F '=' '{print$2}' | sed 's/\"//g')
        echo "NAME=\"$distro_name\""
    elif [ -f /ect/os/centos-release ];then
    distro_name=$(cat /etc/centos-release)
        echo "NAME=\"$distro_name\""
    else
        echo "Error: Neither /etc/os-release nor /etc/centos-release file found."
    fi
}
function s4_view_my_cpu_arch(){
    local arch=$(unmae -m)
    if [ "$cpu_arch" == "x86_64" ];then
    echo "x86_64"
    elif [ "$cpu_arch" == "i686" ]||[ "$cpu_arch" == "i386" ];then
    echo "x86_32"
    else
    echo $arch
    fi
}
function s5_show_first_scsi_disk_size(){
    local disk_size_gb=$(lsblk -l -o NAME,SIZE|grep' ^sda '|awk' {print$s2} '|sed' s/G$// '|awk' {print$1} ')
    echo $disk_size_gb
}
function s6_show_main_memory_size_in_megabytes(){
    free -m |grep "Mem:" |awk '{print $2}'
}
